package com.offcn.question.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.offcn.common.utils.PageUtils;
import com.offcn.question.entity.QmsQuestionEntity;
import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author yaoshang
 * @email wuqian@gmail.com
 * @date 2021-07-21 19:43:14
 */
public interface QmsQuestionService extends IService<QmsQuestionEntity> {

    PageUtils queryPage(Map<String, Object> params);



    //导入ecxel
    public Map importExcel(MultipartFile file);

    //导出excel
    public Workbook exportExcel();

    /**
     * 统计分类
     */
    List<Map<String,Object>> countType();
}

